package cn.tl.org.service.impl;

import cn.tl.org.base.service.impl.BaseServiceImpl;
import cn.tl.org.domain.Employee;
import cn.tl.org.domain.Shop;
import cn.tl.org.mapper.EmployeeMapper;
import cn.tl.org.mapper.ShopMapper;
import cn.tl.org.query.EmployeeQuery;
import cn.tl.org.query.ShopQuery;
import cn.tl.org.service.IEmployeeService;
import cn.tl.org.service.IShopService;
import cn.tl.org.utils.QueryResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional(readOnly = true,propagation = Propagation.SUPPORTS)
public class ShopServiceImpl extends BaseServiceImpl<Shop> implements IShopService {
    @Autowired
    private ShopMapper shopMapper;

    @Override
    @Transactional
    public void patchDel(Long[] ids) {
        shopMapper.patchDel(ids);
    }
}
